package com.chinawayltd.ews.sample.mapper;

import com.chinawayltd.ews.sample.model.TTemplate;
import com.chinawayltd.ews.sample.model.TTemplateExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TTemplateMapper {
    int countByExample(TTemplateExample example);

    int deleteByExample(TTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TTemplate record);

    int insertSelective(TTemplate record);

    List<TTemplate> selectByExample(TTemplateExample example);

    TTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TTemplate record, @Param("example") TTemplateExample example);

    int updateByExample(@Param("record") TTemplate record, @Param("example") TTemplateExample example);

    int updateByPrimaryKeySelective(TTemplate record);

    int updateByPrimaryKey(TTemplate record);
}